package com.ypf.rpc.registery;

import java.net.InetSocketAddress;

/**
 * 服务发现地址
 */
public interface ServerDiscovery {

    /**
     * 根据服务名找到InetSocketAddress
     * @param serviceName
     * @return
     * @throws
     */
    InetSocketAddress getService(String serviceName);
}
